<html>
  <head>
    <title>Examinator Control Panel</title>	
    <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
  <script>
	function isUserLoggedIn() {
		var el = document.getElementById("curUser");	    
		var curUser = el.title;
	        var elPict =  document.getElementById("leftArr");
		if (curUser.length > 0) {
			elPict.style.visibility="hidden";
		}			
		else {	
			elPict.style.visibility="visible";
		}
	}	
  </script>	
  </head>
  <body onLoad="isUserLoggedIn()">
  <h2>Examinator Control Panel</h2>
  <hr>
  <table border=0>
    <tr><td><a href="{{ url }}">{{ url_linktext }}</a></td>
	<td><img id="leftArr" src="img/arrow_leftAnimated.gif" border=0 width="50%" height="50%"></tr>
    <tr><td><div id="curUser" title="{{ user_current }}">{{ user_current }}</div></td></tr>
  <table>
  <hr>
  <table border=0>
  <tr><td><a href="/questions_browse">Questions browser</a></td></tr>
  <tr><td><a href="/exams_browse">Exams browser</a></td></tr>
  <tr><td><a href="/students_browse">Students browser</a></td></tr>
  <tr><td><a href="/tutor_registration">Register as Tutor</a></td></tr>
  <tr><td><a href="/tutors_browse">Tutors Granting page</a></td></tr>
  <br>
  <tr><td><a href="/examinations_browse">Examinations browser</a></td></tr>
  <tr><td><!- a href="/examinations_results_browse"-- >Examinations Results browser</a></td></tr><br>
  <br>
  <tr><td><a href="/student_google_login">Student Examination Registration</a></td></tr>
  <tr></tr> 
  </table>
<hr>
</body>
</html>

